﻿namespace Microsoft.Cloud.API.Azure.Models
{
    public class VMOperationModel
    {
        /// <summary>
        /// 好像是qdlsvpn.eastus.cloudapp.azure.com
        /// </summary>
        public string CloudServiceName { get; set; }

        /// <summary>
        /// 资源组名称
        /// </summary>
        public string DeploymentName { get; set; }

        /// <summary>
        /// 虚拟机名称
        /// </summary>
        public string VMName { get; set; }

        public VMOperationAction Operation { get; set; }

        public enum VMOperationAction
        {
            Shutdown,
            Start,
            Restart
        }
    }
}